package com.my.utils;

import lombok.experimental.UtilityClass;
import org.springframework.util.DigestUtils;

/**
 * @author MaYong
 * @since 2023/3/20 14:15
 */
@UtilityClass
public class Md5Util {

    public String sign(String str) {
        return DigestUtils.md5DigestAsHex((str).getBytes());
    }
}
